package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("xu_doctor")
public class DoctorEntity {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String truename;
    private String sex;
    @TableField("nationl_type")
    private String nationlType;
    private String educationBackground;
    private String dutyName;
    @TableField("hire_date")
    private String hireDate;
    private String description;
    private String department;
    private Date createTime;
    private String phone;
}
